Use this mysql command:
SHOW ENGINE INNODB STATUS;

You'll find it under: LATEST FOREIGN KEY ERROR
